package cn.edu.ujn.park.service;

import cn.edu.ujn.park.dao.User;
import cn.edu.ujn.park.dao.Vehicle;
import cn.edu.ujn.util.Page;

public interface IVehicleService {
    void insert(Vehicle vehicle);
    void updateByPrimaryKey(Vehicle vehicle);

    void deleteByPrimaryKey(Integer vehicleId);

    Vehicle getVehicleById(Integer vehicleId);

    // 查询所有车辆
    Page<Vehicle> selectAll(Vehicle vehicle);

    String selectVehicleName(Integer vehicleId);
}
